<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<form:form modelAttribute="efwDataRole">
<div class="widget" style="border-radius: 2px 2px 2px 2px;border:1px solid #d5d5d5;border-top:none; margin-top:10px;margin-bottom:10px;">
<div class="head"><h5 class="iDropper"><c:if test="${efwDataRole.id == null}">新增数据角色</c:if><c:if test="${efwDataRole.id != null}">修改数据角色</c:if></h5>
</div>
<table border="0" width="98%" cellpadding="5" cellspacing="5" >
	<tr>
		<td align="right" width="20%"><span class="redmark">*</span>数据角色名称：</td>
		<td align="left" width="80%"><form:input path="daName" size="30"  /><form:errors path="daName" cssClass="errors"/></td>
	</tr>
	<tr>
		<td align="right">状态：</td>
		<td align="left" style="vertical-align:middle;">
			<input type="radio" name="status" value="A" <c:if test="${efwDataRole.status eq 'A' or efwDataRole.status==null}"> checked="checked"</c:if>/>&nbsp;生效&nbsp;&nbsp;
			<input type="radio" name="status" value="D" <c:if test="${efwDataRole.status eq 'D'}"> checked="checked"</c:if>/>&nbsp;失效
		</td>
	</tr>
	<tr>
		<td align="right">描述：</td>
		<td align="left" style="vertical-align:middle;" ><form:textarea path="description" cols="3" rows="3" cssStyle="width:95%"/><form:errors path="description" cssClass="errors" /></td>
	</tr>
</table>
</div>
</form:form>
